import request from '@/utils/request'

// 添加/修改-用户个性设置数据API（post）/company/privateSet/adupPrivateSet
export const adupPrivateSet = (data) => request.post('/company/privateSet/adupPrivateSet', data)

// 获取-用户个性设置数据列表API（post）/company/privateSet/getPrivateSetList
export const getPrivateSetList = (data) => request.post('/company/privateSet/getPrivateSetList', data)

// 获取-单位收付款账户列表-分页/company/finance/findBankList
export const findBankList = (data) => request.post('/company/financeCenter/findBankList', data)

// 单位添加/修改收付款账户/company/finance/adupBank
export const adupBank = (data) => request.post('/company/financeCenter/adupBank', data)

// 单位删除收付款账户/company/finance/delBank
export const delBank = (data) => request.post('/company/financeCenter/delBank', data)

// 获取-银行日记账列表-分页/company/finance/findBankTradeList
export const findBankTradeList = (data) => request.post('/company/financeCenter/findBankTradeList', data)

// 获取收付款账户下拉框/company/finance/findBankCombo
export const findBankCombo = (data) => request.post('/company/financeCenter/findBankCombo', data)

// 银行账导入模板下载/company/finance/btlModelDown
export const btlModelDown = (data) => request.post('/company/financeCenter/btlModelDown', data, {
    headers: {
        "Content-Type": "multipart/form-data"
    },
    responseType: 'blob'
})

//银行账导入/company/finance/importfeeBtl
// export const importfeeBtl = (data) => request.post('/kcbServiceApi/company/financeCenter/importfeeBtl', data)

//获取金额类型下拉框（/company/sysManage/findMtypeCombo）
export const findMtypeCombo = (data) => request.post('/company/sysManage/findMtypeCombo', data)

//获取员工列表下拉框/company/staffCenter/findStaffCombo
export const findStaffCombo = (data) => request.post('/company/staffCenter/findStaffCombo', data)

//单位添加银行账/company/finance/addBtl
export const addBtl = (data) => request.post('/company/financeCenter/addBtl', data)

//银行账添加时通过银行信息获取余额/company/finance/findBalanceByBankInfo
export const findBalanceByBankInfo = (data) => request.post('/company/financeCenter/findBalanceByBankInfo', data)

//删除银行账/company/finance/delBtl
export const delBtl = (data) => request.post('/company/financeCenter/delBtl', data)

//单位修改银行账，可修改的信息为提交参数的信息，其他不能修改/company/finance/modifyBtl
export const modifyBtl = (data) => request.post('/company/financeCenter/modifyBtl', data)

//导出-银行日记账列表/company/finance/expBtlBankEx
export const expBtlBankEx = (data) => request.post('/company/financeCenter/expBtlBankEx', data, )

//获取客户列表分页下拉框/company/serviceCenter/findComboCusList
export const findComboCusList = (data) => request.post('/company/serviceCenter/findComboCusList', data, )

//获取交易记录分页数据（/company/trade/getWalletListForCompany）
export const getWalletListForCompany = (data) => request.post('/company/trade/getWalletListForCompany', data, )

//获取金额类型（/company/trade/getBalanceTypes）
export const getBalanceTypes = (data) => request.post('/company/trade/getBalanceTypes', data, )

//获取交易记录类型（/company/trade/getTradeTypes）
export const getTradeTypes = (data) => request.post('/company/trade/getTradeTypes', data, )

//获取-单位员工报账列表-分页/company/financeCenter/findStaffReimList
export const findStaffReimList = (data) => request.post('/company/financeCenter/findStaffReimList', data, )

//单位添加员工报账/company/financeCenter/addStaffReimburse
export const addStaffReimburse = (data) => request.post('/company/financeCenter/addStaffReimburse', data, )

//单位修改员工报账/company/financeCenter/modifyStaffReimburse
export const modifyStaffReimburse = (data) => request.post('/company/financeCenter/modifyStaffReimburse', data, )

//审核通过员工报账(支持多条审核)/company/financeCenter/checkStaffReimburse
export const checkStaffReimburse = (data) => request.post('/company/financeCenter/checkStaffReimburse', data, )

//驳回(撤销已审核)非上网费的员工报账/company/financeCenter/checkRefuse
export const checkRefuse = (data) => request.post('/company/financeCenter/checkRefuse', data, )

//核销员工报账(绑定银行账)/company/financeCenter/cancellationStaffReim
export const cancellationStaffReim = (data) => request.post('/company/financeCenter/cancellationStaffReim', data, )

//撤销已核销的员工报账(解绑银行账)/company/financeCenter/cancelStaffReim
export const cancelStaffReim = (data) => request.post('/company/financeCenter/cancelStaffReim', data, )

//单位删除员工报账/company/financeCenter/delStaffReim
export const delStaffReim = (data) => request.post('/company/financeCenter/delStaffReim', data, )

//获取-所有单位部门-列表/company/menu/findAllDeptList
export const findAllDeptList = (data) => request.post('/company/menu/findAllDeptList', data)

//获取车牌号下拉框(/company/safetyCenter/findCarCombo)
export const findCarCombo = (data) => request.post('/company/safetyCenter/findCarCombo', data)

//添加/修改车辆(/company/safetyCenter/adupCompanyVehicle)
export const adupCompanyVehicle = (data) => request.post('/company/safetyCenter/adupCompanyVehicle', data)

//导出-单位员工报账列表/company/financeCenter/staffReimExport
export const staffReimExport = (data) => request.post('/company/financeCenter/staffReimExport', data)

//添加/修改-加油报销/company/financeCenter/adupOilReim
export const adupOilReim = (data) => request.post('/company/financeCenter/adupOilReim', data)

//获取驾驶员下拉框/company/staffCenter/getDriverList
export const getDriverList = (data) => request.post('/company/staffCenter/getDriverCombo', data)

//添加维修站客户/company/serviceCenter/addRepairCustom
export const addRepairCustom = (data) => request.post('/company/serviceCenter/addRepairCustom', data)

//获取-地图地点列表（/common/findMapPointList）content-type:application/x-www-form-urlencoded
export const findMapPointList = (data) => request.post('/common/findMapPointList', data, {
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
    }
})

//单位添加/修改驾驶员报账-维修报销/company/financeCenter/adupRepairReim
export const adupRepairReim = (data) => request.post('/company/financeCenter/adupRepairReim', data)

//单位添加/修改驾驶员审车费/company/financeCenter/adupCheckCarFee
export const adupCheckCarFee = (data) => request.post('company/financeCenter/adupCheckCarFee', data)


//单位添加/修改驾驶员报账-无业务报销（只有月停车费和月洗车费有开始时间和结束时间，其他类型只有开始时间）/company/financeCenter/adupNoRouteReim
export const adupNoRouteReim = (data) => request.post('/company/financeCenter/adupNoRouteReim', data)

//车辆当前位置(/company/safetyCenter/getVehiclesCurrentPosition)
export const getVehiclesCurrentPosition = (data) => request.post('/company/safetyCenter/getVehiclesCurrentPosition', data)

//车辆当前小程序位置(/company/safetyCenter/getVehiclesCurrentPositionByProgram)
export const getVehiclesCurrentPositionByProgram = (data) => request.post('/company/safetyCenter/getVehiclesCurrentPositionByProgram', data)

//车辆轨迹(/company/vehicle/getVehiclesPosition)
export const getVehiclesPosition = (data) => request.post('/company/safetyCenter/getVehiclesPosition', data)

//查询车辆所有未完团的订单(/company/vehicle/getNoCompleteOrder)
export const getNoCompleteOrder = (data) => request.post('/company/safetyCenter/getNoCompleteOrder', data)

//工资表生成员工报账/company/finance/createStaffReim
export const createStaffReim = (data) => request.post('/company/trade/createStaffReim', data)

//客户订单应收应支查询统计（/company/financeCenter/sumCusGathPay）
export const sumCusGathPay = (data) => request.post('/company/financeCenter/sumCusGathPay', data)

//获取-托管给我车队下拉框搜索/company/serviceCenter/findTrusteeshipMeCombo
export const findTrusteeshipMeCombo = (data) => request.post('/company/serviceCenter/findTrusteeshipMeCombo', data)

//获取客户类型下拉框/company/sysManage/findCusTypeCombo
export const findCusTypeCombo = (data) => request.post('/company/sysManage/findCusTypeCombo', data)
//客户下拉
export const serviceCenterfindComboCusList = (data) => request.post('/company/serviceCenter/findComboCusList', data)

//获取业务员列表/company/staffCenter/getServiceMans
export const getServiceMans = (data) => request.post('/company/staffCenter/getServiceMans', data)

//获取报账人下拉框（/company/financeCenter/getStaffReimUser）
export const getStaffReimUser = (data) => request.post('/company/financeCenter/getStaffReimUser', data)

//获取-办公室报账金额类型（/company/financeCenter/getOfficeMoneyTypes）
export const getOfficeMoneyTypes = (data) => request.post('/company/financeCenter/getOfficeMoneyTypes', data)

//获取-办公室报账金额类型（/company/financeCenter/getOfficeMoneyTypes）
export const getDriverMoneyTypes = (data) => request.post('/company/financeCenter/getDriverMoneyTypes', data)

//获取-驾驶员报账无业务开支金额类型（/company/financeCenter/getNoOrderPayMoneyTypes）
export const getNoOrderPayMoneyTypes = (data) => request.post('/company/financeCenter/getNoOrderPayMoneyTypes', data)

// 银行账转账/company/financeCenter/transfer
export const transfer = (data) => request.post('/company/financeCenter/transfer', data)

//银行账确认互转/company/financeCenter/confirmTransEach
export const confirmTransEach = (data) => request.post('/company/financeCenter/confirmTransEach', data)

//银行账充值下账/company/financeCenter/downBtlRecharge
export const downBtlRecharge = (data) => request.post('/company/financeCenter/downBtlRecharge', data)

//获取平台账单记录分页数据（/company/trade/getWalletListForPlatBill）
export const getWalletListForPlatBill = (data) => request.post('/company/trade/getWalletListForPlatBill', data)

//获取客户交易账户类型（/company/trade/getCusBalanceTypes）
export const getCusBalanceTypes = (data) => request.post('/company/trade/getCusBalanceTypes', data)

//单位收平台账单
export const gathPlatBill = (data) => request.post('/company/trade/gathPlatBill', data)
